package com.open.capacity.paper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.PaperQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

@Mapper
public interface PaperQuestionDao extends BaseMapper<PaperQuestion> {

    void insertBatch(List<PaperQuestion> paperQuestionList);

    void deleteBatchByIds(@Param("paperId") Integer paperId, @Param("questionIds") Set<Integer> questionIds);
}
